package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BBusinessDetailsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商学院课程详情信息表
 *
 * @author xss
 * @email dustwas@163.com
 * @date 2020-10-23 18:17:52
 */
@Mapper
public interface BBusinessDetailsDao extends BaseMapper<BBusinessDetailsEntity> {

    BBusinessDetailsEntity queryOne(BBusinessDetailsEntity bBusinessDetails);
    /**
     * 通过实体作为筛选条件查询
     *
     * @param bBusinessDetails 实例对象
     * @return 对象列表
     */
    List<BBusinessDetailsEntity> queryAll(BBusinessDetailsEntity bBusinessDetails);

    int updateByBusinessId(BBusinessDetailsEntity bBusinessDetails);

}
